import {auth} from '@/util/index'

const Layout = () => import('@/layout/index.vue')

export default {
    path: '/personal_management',
    component: Layout,
    redirect: '/personal_management',
    name: 'personal_management',
    meta: {
        title: '个人管理',
        icon: 'el-icon-UserFilled',
        auth: ["teacher", "student"]
    },
    children: [
        {
            path: 'mylab',
            name: '我的实验室',
            component: () => import('@/views/personal/mylab.vue'),
            meta: {
                title: '我的实验室'
            }
        },
        {
            path: 'my_lab_equipment',
            name: '我的实验器材',
            component: () => import('@/views/personal/my_lab_equipment.vue'),
            meta: {
                title: '我的实验器材'
            }
        },
        {
            path: 'appointment',
            name: '实验室预约信息',
            component: () => import('@/views/personal/appointment.vue'),
            meta: {
                title: '实验室预约信息',

            }
        },
        {
            path: 'my_equ_appointment',
            name: '设备耗材预约信息',
            component: () => import('@/views/personal/my_equ_appointment.vue'),
            meta: {
                title: '设备耗材预约信息'
            }
        },

    ]
}
